package com.blr.entity;

import java.util.HashMap;
import java.util.Map;

/**
 * 用来映射 history 库中 forecast 表中数据
 */
public class Forecast {
    private Long time;

    private Map<String, String> tags = new HashMap<>();
    private Map<String, Object> fields = new HashMap<>();

    public Long getTime() {
        return time;
    }

    public void setTime(Long time) {
        this.time = time;
    }

    public Map<String, String> getTags() {
        return tags;
    }

    public void setTags(Map<String, String> tags) {
        this.tags = tags;
    }

    public Map<String, Object> getFields() {
        return fields;
    }

    public void setFields(Map<String, Object> fields) {
        this.fields = fields;
    }

    @Override
    public String toString() {
        return "Forecast{" +
                "time=" + time +
                ", tags=" + tags +
                ", fields=" + fields +
                '}';
    }
}
